<agenttpl file="user_center_header" />
<style type="text/css">
    .cuttitle{display:inline-block;;*display:inline;width:130px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;cursor:pointer;}
    .search-results .table-content table tr th{vertical-align:middle;font-size:12px;}
    .search-results .table-content table tr td{vertical-align:middle;font-size:12px;}
</style>

<section>
    <div class="user_center main">
        <div class="banner_1">
            <img src="__PUBLIC__img/1200-200+.jpg" alt=""/>
        </div>
        <div class="user_center_main page-content">
            <agenttpl file="share/side" />    

            <div class="page-right my-game">
                <form id="queryForm" action="{:U('Agent/Data/getGamePTBCheck')}" method="get">
                    <div class="input-content" style="height:80px;">
                        <div class="search-game" >
                            <span>游戏:</span>
                            <input type="text" name="game_name" id="gamename" value="{$formget.game_name}" maxlength="25" placeholder="请输入游戏ID或游戏名称">
                        </div>
                        <div class="choose-channel">
                            <span>玩家：</span>
                            <input type="text" name="mem_name" id="memname" value="{$formget.mem_name}" maxlength="20" placeholder="">
                        </div>                            
                        <div class="search-btn" style="margin-top:30px;">搜 &nbsp;索</div>
                    </div>

                </form>
                <div class="search-results">

                    <div class="results-header">
                        <span class="game-num">共找到<i>{$num_of_records}</i>个记录</span>

                    </div>
                    <div class="table-content">
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <th width="130">订单号</th>
                                    <th width="180" style="text-align:center;"class="game-name-th">游戏名称</th>
                                    <th width="110">游戏账号</th>
                                    <th width="140">消费{:C(CURRENCY_NAME)}</th>
                                    <th width="130">充值时间</th>
                                </tr>
<!--                                <tr style="color:#0ae;">
                                    <td>汇总</td>
                                    <td>--</td>
                                    <td>--</td>
                                    <td>{$sumitems[0]['sum_cnt']}</td>
                                    <td>--</td>
                                </tr> -->
                            <volist name="records" id="vo">
                                <tr>
                                    <td>{$vo.order_id}</td>
                                    <td>{$vo.gamename}</td>
                                    <td>{$vo.memname}</td>
                                    <td>{$vo.gm_cnt}</td>
                                    <td><?php echo date("Y-m-d H:i:s",$vo['create_time']); ?></td>
                                </tr>                 
                            </volist>                                                                        
                            </tbody>
                        </table>
                        <div class="page" style="">
                            <div class="paging">
                                {$Page}
                            </div>
                        </div>                          
                    </div>
                </div>
            </div>

            <script src="__PUBLIC__js/autoPage.js"></script>
            <script src="__PUBLIC__My97DatePicker/WdatePicker.js"></script>
            <script src="__PUBLIC__js/mygames.js"></script>
            <script>
                $(".search-btn").live("click", function () {
                    $("#queryForm").submit();
                });
            </script>
        </div>
    </div>
</section>
<agenttpl file="user_center_footer" />